package han;

public class Retangle {

	public static void main(String[] args) {

		double width = 1.0;
		double height = 1.0;
		double getArea;
		double getPerimeter;
		String color = "white";
		getArea = width * height;
		getPerimeter = (width + height) * 2;
		System.out.println("             ");
		System.out.println("가로 = " + width);
		System.out.println("세로 = " + height);
		System.out.println("색깔 = " + color);
		System.out.println("넓이 = " + getArea);
		System.out.println("둘레 = " + getPerimeter);
		width = 4;
		height = 40;
		color = "red";
		getArea = width * height;
		getPerimeter = (width + height) * 2;
		System.out.println("             ");
		System.out.println("가로 = " + width);
		System.out.println("세로 = " + height);
		System.out.println("색깔 = " + color);
		System.out.println("넓이 = " + getArea);
		System.out.println("둘레 = " + getPerimeter);
		width = 3.5;
		height = 4;
		color = "orange";
		getArea = width * height;
		getPerimeter = (width + height) * 2;
		System.out.println("             ");
		System.out.println("가로 = " + width);
		System.out.println("세로 = " + height);
		System.out.println("색깔 = " + color);
		System.out.println("넓이 = " + getArea);
		System.out.println("둘레 = " + getPerimeter);

	}

	
}
